import React, { PureComponent } from 'react'
import { BrowserRouter  } from 'react-router-dom'
import HashRouter from './01_hash模式'
import HistoryRouter from './02_history模式'
import HistoryRouterNavLink from './03_history模式-navlink'
import DynamicRoutr from './04_动态路由'
import RedictC from './05_重定向'
import WrapRoutr from './06_嵌套路由'
import ClickNav from './07_手动路由跳转'
import ParamsSend from './08_参数传递-query'
import ParamsSendTo from './09_参数传递-to'
// import ConfigRouter from './10_使用usetRoutes统一管理路由'
import ConfigRouterLazy from './11_使用usetRoutes统一管理路由-路由懒加载'

export default class Index extends PureComponent {
  render() {
    return (
      // <BrowserRouter>
        <div>
          {/* <h2>hash模式</h2>
          <HashRouter/>
          <h2>history模式</h2>
          <HistoryRouter />
          <h2>navlink</h2> */}
          {/* <HistoryRouterNavLink /> */}
          {/* <DynamicRoutr /> */}
          {/* <RedictC></RedictC> */}
          {/* <WrapRoutr></WrapRoutr> */}
          {/* <ClickNav></ClickNav> */}
          {/* <ParamsSend></ParamsSend> */}
          {/* <ParamsSendTo></ParamsSendTo> */}
          {/* <ConfigRouter></ConfigRouter> */}
          <ConfigRouterLazy></ConfigRouterLazy>

        </div>
      // </BrowserRouter>
    )
  }
}
